<?php

use CodeIgniter\Router\RouteCollection;

/**
 * @var RouteCollection $routes
 */
$routes->get('/', 'Home::index');

$routes->get('/home', 'Home::index');

$routes->get('/SpongeBob', 'SpongeBob::index');

$routes->post('/SpongeBob/handle', 'SpongeBob::handle'); 

$routes->get('/SpongeBob/edit/(:any)','SpongeBob::edit/$1');

$routes->get('/SpongeBob/showme/(:any)', 'SpongeBob::showme/$1');

$routes->get('/image/(:any)', 'Media::image/$1');